﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace weighing
{
    public class PermissionKeys
    {
        #region 系统设置 

        public static string SettingServer = "setting:server";//服务设置

        public static string SettingInit = "setting:init";
        public static string SettingInitName = "setting:init:name";
        public static string SettingInitCompany = "setting:init:company";//初始化使用单位

        public static string BillImgSetting = "bill:img:setting";//过磅截图设置


        public static string IcReaderSetting = "setting:Ic:reader";//读卡器
        #endregion
        //选择子类，父类必选
        //高级 菜单 不能给用户随意分配 
        #region 磅单管理 

        public static string BillManager = "bill:manager"; //level 1 
        public static string BillSetting = "bill:setting"; //磅单设置
        public static string BillBuLu = "bill:bulu"; //补录磅单
        public static string BillEdit = "bill:edit";//修改磅单
        public static string BillDelFinish = "bill:del:finish"; //删除磅单       
        public static string BillDel = "bill:del:no";//删除未完成的磅单
        public static string BillClearForeign = "bill:clear:foreign"; //清空外来
        public static string BillClearSelf = "bill:clear:self"; //清空内倒
        /// <summary>
        /// 补打磅单
        /// </summary>
        public static string BillMuitlPrint = "bill:muitl:print";
        public static string BillCancelOutFactory = "bill:cancel:out";//取消出场
        public static string BillInSetting = "bill:in:setting";//入库过磅设置
        public static string BillOutSetting = "bill:out:setting";//出库过磅设置

        #endregion

        #region 设备管理 
        /// <summary>
        /// 摄像头
        /// </summary>
        public static string Device = "device";
        public static string DeviceCamera = "device:camera";
        public static string DeviceCameraList = "device:camera:list";
        public static string DeviceCameraAdd = "device:camera:add"; //添加摄像头
        public static string DeviceCameraEdit = "device:camera:edit";//修改摄像头
        public static string DeviceCameraDel = "device:camera:del";//删除摄像头

        //扫码器
        public static string DeviceNetScanner = "device:netScanner";
        public static string DeviceNetScannerList = "device:netScanner:list";
        public static string DeviceNetScannerAdd = "device:netScanner:add"; //添加扫码器
        public static string DeviceNetScannerEdit = "device:netScanner:edit";//修改扫码器
        public static string DeviceNetScannerDel = "device:netScanner:del";//删除扫码器

        /// <summary>
        /// 磅称
        /// </summary>
        public static string DeviceScale = "device:scale";
        public static string DeviceScaleList = "device:scale:list";
        public static string DeviceScaleAdd = "device:scale:add";//添加
        public static string DeviceScaleEdit = "device:scale:edit";
        public static string DeviceScaleDel = "device:scale:del";

        /// <summary>
        ///  室外高频读卡器
        /// </summary>
        public static string DeviceHeightIcReader = "device:hight:ic:reader";
        public static string DeviceHeightIcReaderList = "device:hight:ic:reader:list";
        public static string DeviceHeightIcReaderAdd = "device:hight:ic:reader:add";//添加
        public static string DeviceHeightIcReaderEdit = "device:hight:ic:reader:edit";
        public static string DeviceHeightIcReaderDel = "device:hight:ic:reader:del";
        #endregion

        #region 基础数据 

        public static string BaseData = "basedata";

        public static string BaseDataCar = "basedata:car";
        public static string BaseDataCarAdd = "basedata:car:add";
        public static string BaseDataCarEdit = "basedata:car:edit";
        public static string BaseDataCarDel = "basedata:car:del";
        public static string BaseDataCarIcData = "basedata:car:icdata";

        //分类
        public static string BaseDataCate = "basedata:cate";
        public static string BaseDataCateAdd = "basedata:cate:add";
        public static string BaseDataCateEdit = "basedata:cate:edit";
        public static string BaseDataCateDel = "basedata:cate:del";
        //物料
        public static string BaseDataMaterial = "basedata:material";
        public static string BaseDataMaterialAdd = "basedata:material:add";
        public static string BaseDataMaterialEdit = "basedata:material:edit";
        public static string BaseDataMaterialDel = "basedata:material:del";
        public static string BaseDataMaterialPrice = "basedata:material:price";


        //客户信息
        public static string BaseDataCompany = "basedata:company";
        public static string BaseDataCompanyAdd = "basedata:company:add";
        public static string BaseDataCompanyEdit = "basedata:company:edit";
        public static string BaseDataCompanyDel = "basedata:company:del";
        #endregion

        #region 报表管理 数据

        public static string WeighingData = "weighing:data";
        public static string WeighingDataIn = "weighing:data:in";//入库数据
        public static string WeighingDataOut = "weighing:data:out";//出库数据
        public static string WeighingDataSelf = "weighing:data:self";//内倒数据
        public static string WeighingDataForeign = "weighing:data:foregin";//外来数据
        public static string WeighingDataExport = "weighing:data:excport";

        #endregion


        /// <summary>
        /// 磅房
        /// </summary>
        public static string BasedataScaleHouse = "basedata:scale:house";
        public static string BasedataScaleHouseList = "basedata:scale:house:list";
        public static string BasedataScaleHouseAdd = "basedata:scale:house:add";
        public static string BasedataScaleHouseEdit = "basedata:scale:house:edit";
        public static string BasedataScaleHouseDel = "basedata:scale:house:del";

        #region 合同管理
        public static string ConstractManage = "constract";
        public static string ConstractAdd = "constract:add";
        public static string ConstractEdit = "constract:edit";
        public static string ConstractDel = "constract:del";
        public static string ConstractAudit = "constract:audit";
        #endregion

    }
}
